#-------------------------------------------------------------------------------
# Name:        module1
# Purpose:
#
# Author:      dracux
#
# Created:     19/03/2013
# Copyright:   (c) dracux 2013
# Licence:     <your licence>
#-------------------------------------------------------------------------------

class Npc:
    nombre=""
    img_s=""
    img_n=""
    img_e=""
    img_w=""
    posx=0
    posy=0
    ciclo=0
    kind=0
    textoDefault=""
    def __init__(self,kind,nom,c,px,py,tDefault):
        if kind==1: #msuin
            self.img_s="imagenes/npc/msuin/walkings0000.png"
            self.img_n="imagenes/npc/msuin/walkingn0000.png"
            self.img_e="imagenes/npc/msuin/walkinge0000.png"
            self.img_w="imagenes/npc/msuin/walkingw0000.png"
            self.ciclo=c
            self.nombe=nom
            self.posx=px
            self.posy=py
            self.textoDefault=tDefault
    def get_image(self,orientacion):
        if orientacion=="s":
            return self.img_s
        if orientacion=="n":
            return self.img_n
        if orientacion=="e":
            return self.img_e
        if orientacion=="w":
            return self.img_w
    def get_ciclo(self):
        return self.ciclo
    def get_posx(self):
        return self.posx
    def get_posy(self):
        return self.posy
